﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000B1 RID: 177
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AOBGKPKLNPO : IMessage<AOBGKPKLNPO>, IMessage, IEquatable<AOBGKPKLNPO>, IDeepCloneable<AOBGKPKLNPO>, IBufferMessage
	{
		// Token: 0x1700023E RID: 574
		// (get) Token: 0x060007EB RID: 2027 RVA: 0x00016DCC File Offset: 0x00014FCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AOBGKPKLNPO> Parser
		{
			get
			{
				return AOBGKPKLNPO._parser;
			}
		}

		// Token: 0x1700023F RID: 575
		// (get) Token: 0x060007EC RID: 2028 RVA: 0x00016DD3 File Offset: 0x00014FD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AOBGKPKLNPOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000240 RID: 576
		// (get) Token: 0x060007ED RID: 2029 RVA: 0x00016DE5 File Offset: 0x00014FE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AOBGKPKLNPO.Descriptor;
			}
		}

		// Token: 0x060007EE RID: 2030 RVA: 0x00016DEC File Offset: 0x00014FEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AOBGKPKLNPO()
		{
		}

		// Token: 0x060007EF RID: 2031 RVA: 0x00016DF4 File Offset: 0x00014FF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AOBGKPKLNPO(AOBGKPKLNPO other) : this()
		{
			AOBGKPKLNPO.AMKDCPBGNONOneofCase amkdcpbgnoncase = other.AMKDCPBGNONCase;
			if (amkdcpbgnoncase != AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF)
			{
				if (amkdcpbgnoncase == AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG)
				{
					this.NDKMFAJOOPG = other.NDKMFAJOOPG.Clone();
				}
			}
			else
			{
				this.JEBIMAKIPGF = other.JEBIMAKIPGF.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060007F0 RID: 2032 RVA: 0x00016E4D File Offset: 0x0001504D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AOBGKPKLNPO Clone()
		{
			return new AOBGKPKLNPO(this);
		}

		// Token: 0x17000241 RID: 577
		// (get) Token: 0x060007F1 RID: 2033 RVA: 0x00016E55 File Offset: 0x00015055
		// (set) Token: 0x060007F2 RID: 2034 RVA: 0x00016E6E File Offset: 0x0001506E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GBGMBGHODGP NDKMFAJOOPG
		{
			get
			{
				if (this.aMKDCPBGNONCase_ != AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG)
				{
					return null;
				}
				return (GBGMBGHODGP)this.aMKDCPBGNON_;
			}
			set
			{
				this.aMKDCPBGNON_ = value;
				this.aMKDCPBGNONCase_ = ((value == null) ? AOBGKPKLNPO.AMKDCPBGNONOneofCase.None : AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG);
			}
		}

		// Token: 0x17000242 RID: 578
		// (get) Token: 0x060007F3 RID: 2035 RVA: 0x00016E85 File Offset: 0x00015085
		// (set) Token: 0x060007F4 RID: 2036 RVA: 0x00016E9E File Offset: 0x0001509E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BOIFNIIGMJG JEBIMAKIPGF
		{
			get
			{
				if (this.aMKDCPBGNONCase_ != AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF)
				{
					return null;
				}
				return (BOIFNIIGMJG)this.aMKDCPBGNON_;
			}
			set
			{
				this.aMKDCPBGNON_ = value;
				this.aMKDCPBGNONCase_ = ((value == null) ? AOBGKPKLNPO.AMKDCPBGNONOneofCase.None : AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF);
			}
		}

		// Token: 0x17000243 RID: 579
		// (get) Token: 0x060007F5 RID: 2037 RVA: 0x00016EB5 File Offset: 0x000150B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AOBGKPKLNPO.AMKDCPBGNONOneofCase AMKDCPBGNONCase
		{
			get
			{
				return this.aMKDCPBGNONCase_;
			}
		}

		// Token: 0x060007F6 RID: 2038 RVA: 0x00016EBD File Offset: 0x000150BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearAMKDCPBGNON()
		{
			this.aMKDCPBGNONCase_ = AOBGKPKLNPO.AMKDCPBGNONOneofCase.None;
			this.aMKDCPBGNON_ = null;
		}

		// Token: 0x060007F7 RID: 2039 RVA: 0x00016ECD File Offset: 0x000150CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AOBGKPKLNPO);
		}

		// Token: 0x060007F8 RID: 2040 RVA: 0x00016EDC File Offset: 0x000150DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AOBGKPKLNPO other)
		{
			return other != null && (other == this || (object.Equals(this.NDKMFAJOOPG, other.NDKMFAJOOPG) && object.Equals(this.JEBIMAKIPGF, other.JEBIMAKIPGF) && this.AMKDCPBGNONCase == other.AMKDCPBGNONCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060007F9 RID: 2041 RVA: 0x00016F40 File Offset: 0x00015140
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG)
			{
				num ^= this.NDKMFAJOOPG.GetHashCode();
			}
			if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF)
			{
				num ^= this.JEBIMAKIPGF.GetHashCode();
			}
			num ^= (int)this.aMKDCPBGNONCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060007FA RID: 2042 RVA: 0x00016F9F File Offset: 0x0001519F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060007FB RID: 2043 RVA: 0x00016FA7 File Offset: 0x000151A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060007FC RID: 2044 RVA: 0x00016FB0 File Offset: 0x000151B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.JEBIMAKIPGF);
			}
			if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.NDKMFAJOOPG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060007FD RID: 2045 RVA: 0x00017010 File Offset: 0x00015210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.NDKMFAJOOPG);
			}
			if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JEBIMAKIPGF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060007FE RID: 2046 RVA: 0x0001706C File Offset: 0x0001526C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AOBGKPKLNPO other)
		{
			if (other == null)
			{
				return;
			}
			AOBGKPKLNPO.AMKDCPBGNONOneofCase amkdcpbgnoncase = other.AMKDCPBGNONCase;
			if (amkdcpbgnoncase != AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF)
			{
				if (amkdcpbgnoncase == AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG)
				{
					if (this.NDKMFAJOOPG == null)
					{
						this.NDKMFAJOOPG = new GBGMBGHODGP();
					}
					this.NDKMFAJOOPG.MergeFrom(other.NDKMFAJOOPG);
				}
			}
			else
			{
				if (this.JEBIMAKIPGF == null)
				{
					this.JEBIMAKIPGF = new BOIFNIIGMJG();
				}
				this.JEBIMAKIPGF.MergeFrom(other.JEBIMAKIPGF);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060007FF RID: 2047 RVA: 0x000170EF File Offset: 0x000152EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000800 RID: 2048 RVA: 0x000170F8 File Offset: 0x000152F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						GBGMBGHODGP gbgmbghodgp = new GBGMBGHODGP();
						if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.NDKMFAJOOPG)
						{
							gbgmbghodgp.MergeFrom(this.NDKMFAJOOPG);
						}
						input.ReadMessage(gbgmbghodgp);
						this.NDKMFAJOOPG = gbgmbghodgp;
					}
				}
				else
				{
					BOIFNIIGMJG boifniigmjg = new BOIFNIIGMJG();
					if (this.aMKDCPBGNONCase_ == AOBGKPKLNPO.AMKDCPBGNONOneofCase.JEBIMAKIPGF)
					{
						boifniigmjg.MergeFrom(this.JEBIMAKIPGF);
					}
					input.ReadMessage(boifniigmjg);
					this.JEBIMAKIPGF = boifniigmjg;
				}
			}
		}

		// Token: 0x040002F1 RID: 753
		private static readonly MessageParser<AOBGKPKLNPO> _parser = new MessageParser<AOBGKPKLNPO>(() => new AOBGKPKLNPO());

		// Token: 0x040002F2 RID: 754
		private UnknownFieldSet _unknownFields;

		// Token: 0x040002F3 RID: 755
		public const int NDKMFAJOOPGFieldNumber = 14;

		// Token: 0x040002F4 RID: 756
		public const int JEBIMAKIPGFFieldNumber = 13;

		// Token: 0x040002F5 RID: 757
		private object aMKDCPBGNON_;

		// Token: 0x040002F6 RID: 758
		private AOBGKPKLNPO.AMKDCPBGNONOneofCase aMKDCPBGNONCase_;

		// Token: 0x0200157B RID: 5499
		public enum AMKDCPBGNONOneofCase
		{
			// Token: 0x04006004 RID: 24580
			None,
			// Token: 0x04006005 RID: 24581
			NDKMFAJOOPG = 14,
			// Token: 0x04006006 RID: 24582
			JEBIMAKIPGF = 13
		}
	}
}
